				
<%@ page pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://www.ld.com/shield/tags" prefix="shield"%>
<%@ page trimDirectiveWhitespaces="true" %>
<fmt:setLocale value="zh_CN"/>
<shield:permssion type="button">
<table class="tab-list shield-table-odd">
	<colgroup>
		<col width="50">
		<col width="80">
		<col>
		<col>
		<col width="120">
		<col>
	</colgroup>
    <tr>
        <th class="w50 taCenter">序号</th>
        <th>操作</th>
	    <th>详情</th>
	    <th>账号</th>
	    <th>ip</th>
	    <th>创建时间</th>
    </tr>
<c:forEach var="model" items="${pageBean.resultList }" varStatus="var">
    <tr >
        <td style="text-align: center;">${(pageBean.currentPage -1)*pageBean.pageSize+var.count }</td>
        <td ><shield:switchOput data="1=登录|2=退出|3=登录失败|4=修改|5=停用|6=启用|其他" value="${model.type}"></shield:switchOput></td>
	   	<td >${model.remarks }</td>
	   	<td >${model.createName }</td>
	   	<td >${model.ip }</td>
	   	<td class="shieldDatetime"><fmt:formatDate value="${model.createTime }" pattern="yyyy-MM-dd HH:mm:ss"/></td>
    </tr>
</c:forEach>
<c:if test="${empty pageBean.resultList }">
    <!-- 无数据时展示，有数据时展示上面的列表, nodatatr_plugin自动处理列合并数-->
    <tr class="nodatatr_plugin">
        <td colspan="6" class="taCenter">暂无数据</td>
    </tr>
</c:if>
</table>
</shield:permssion>
<%@include file="/WEB-INF/view/a/include/pagination.jsp"%>
